import { TableColumnData } from "@arco-design/web-vue";

const columns: TableColumnData[] = [
  {
    title: "分类名称",
    dataIndex: "categoryName",
    width: 150
  },
  {
    title: "状态",
    dataIndex: "status",
    width: 100,
    render: (data: any) => (data.record.cellData === "0" ? "启用" : "停用")
  },
  {
    title: "父级ID",
    dataIndex: "parentId",
    width: 150
  },
  {
    title: "部门ID",
    dataIndex: "deptId",
    width: 200
  }
];

export default { columns };
